ざっくりActiveObjectsのエラー一覧
パッケージ、クラスごとにActiveObjectsの例外のthrowについて整理しました。
実装依存な情報なので、参考まで。
※publicなクラスにはjavadocへのリンクをつけました。
パッケージ:net.java.ao.db
クラス:SQLServerDatabaseProvider
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | No primary key field found in table ' + table.getName() + '\'' |
クラス:DerbyDatabaseProvider
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | No primary key field found in table ' + table.getName() + '\'' |
パッケージ:net.java.ao.schema.task
クラス:MigrateTask
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | Unable to locate table name converter |
パッケージ:net.java.ao.schema
クラス:AbstractFieldNameConverter
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | Problem in ActiveObjects core, looking for field name for null method |
クラス:SchemaGenerator 非publicAPI
エラーオブジェクト | メッセージ |
---|---|
new RuntimeException() | Circular dependency detected in or below + cls.getCanonicalName() |
パッケージ:net.java.ao.types
クラス:TypeManager
エラーオブジェクト | メッセージ |
---|---|
new RuntimeException() | Unrecognized type: + javaType.getName() |
クラス:BlobType
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | BLOB value must be of type byte[] or InputStream |
e2 | - |
new IllegalArgumentException() | Cannot assign a String representation to a BLOB |
クラス:URIType
エラーオブジェクト | メッセージ |
---|---|
new SQLException() | e.getMessage() |
クラス:URLType
エラーオブジェクト | メッセージ |
---|---|
new SQLException() | e.getMessage() |
パッケージ:net.java.ao
クラス:DatabaseProvider
エラーオブジェクト | メッセージ |
---|---|
new SQLException() | Unable to create connection |
new RuntimeException() | Entities may only have one primary key |
new RuntimeException() | Unable to locate a valid database provider for URI: + uri |
new RuntimeException() | Unable to instantiate database provider for URI: + uri |
クラス:SearchableEntityManager
エラーオブジェクト | メッセージ |
---|---|
(SQLException()) new SQLException()().initCause(e) | - |
(IOException()) new IOException()().initCause(e) | - |
クラス:DefaultPolymorphicTypeMapper
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | No valid inverse mapping for type value \" + type + '' |
クラス:EntityManager
エラーオブジェクト | メッセージ |
---|---|
new RuntimeException() | No polymorphic type mapper was specified |
クラス:Transaction
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | EntityManager instance cannot be null) |
toThrow | - |
クラス:Common 非publicAPI
エラーオブジェクト | メッセージ |
---|---|
new IllegalArgumentException() | Invalid method signature: + method.toGenericString() |
new RuntimeException() | Entity + type.getSimpleName() + " has no primary key field" |
クラス:EntityProxy
エラーオブジェクト | メッセージ |
---|---|
new RuntimeException() | UnrecognizedType: + type.toString() |
new IllegalArgumentException() | Field ' + name + "' does not accept null values" |
クラス:SoftHashMap
エラーオブジェクト | メッセージ |
---|---|
new NoSuchElementException() | - |
new ConcurrentModificationException() | - |
new IllegalStateException() | - |
new IllegalArgumentException() | - |