Interface Exceptions


@ExceptionWrapper(idPrefix="ORBIO") public interface Exceptions
Logging and Exception handling for the io package.
  • Field Details

  • Method Details

    • noOptionalDataExceptionConstructor

      @Message("No optional data exception constructor available") @Log(id=1) ExceptionInInitializerError noOptionalDataExceptionConstructor(@Chain Exception exc)
    • cantCreateOptionalDataException

      @Message("Can\'t create optional data exception") @Log(id=2) Error cantCreateOptionalDataException(@Chain Exception ex)
    • readLineMethodNotSupported

      @Message("readLine method not supported") @Log(id=3) IOException readLineMethodNotSupported()
    • registerValidationNotSupport

      @Message("registerValidation method not supported") @Log(id=4) Error registerValidationNotSupport()
    • resolveClassNotSupported

      @Message("resolveClass method not supported") @Log(id=5) IOException resolveClassNotSupported()
    • resolveObjectNotSupported

      @Message("resolveObject method not supported") @Log(id=6) IOException resolveObjectNotSupported()
    • illegalAccessInvokingObjectRead

      @Message("IllegalAccessException when invoking readObject") @Log(id=7) void illegalAccessInvokingObjectRead(@Chain IllegalAccessException e)
    • invalidClassForPrimitive

      @Message("Bad type {0} for primitive field") @Log(id=8) InvalidClassException invalidClassForPrimitive(String name)
    • unknownCallType

      @Message("Unknown call type {0} while reading object field: possible stream corruption") @Log(id=9) StreamCorruptedException unknownCallType(int callType)
    • unknownTypecodeKind

      @Message("Unknown typecode kind {0} while reading object field: possible stream corruption") @Log(id=10) StreamCorruptedException unknownTypecodeKind(int value)
    • couldNotAssignObjectToField

      @Message("Assigning instance of class {0} to field {1}") @Log(id=11) ClassCastException couldNotAssignObjectToField(@Chain IllegalArgumentException exc, String className, String fieldName)
    • notSettingField

      @Message("Not setting field {0} on class {1}: likely that class has evolved") @Log(level=FINE, id=12) void notSettingField(String fieldName, String className)
    • streamCorrupted

      @Message("Stream corrupted") @Log(id=13) StreamCorruptedException streamCorrupted(Throwable t)
    • couldNotUnmarshalEnum

      @Log(id=14) @Message("Could not unmarshal enum with cls {0}, value {1} using EnumDesc") IOException couldNotUnmarshalEnum(String cls, String value)
    • annotateClassNotSupported

      @Message("method annotateClass not supported") @Log(id=102) IOException annotateClassNotSupported()
    • replaceObjectNotSupported

      @Message("method replaceObject not supported") @Log(id=103) IOException replaceObjectNotSupported()
    • serializationObjectStreamClassNotSupported

      @Message("serialization of ObjectStreamClass not supported") @Log(id=104) IOException serializationObjectStreamClassNotSupported()
    • notSerializable

      @Message("serialization of ObjectStreamClass not supported") @Log(id=105) NotSerializableException notSerializable(String name)
    • invalidClassForWrite

      @Message("Invalid class {0} for writing field") @Log(id=106) InvalidClassException invalidClassForWrite(String name)
    • defaultDataAlreadyRead

      @Message("Default data already read") @Log(id=202) StreamCorruptedException defaultDataAlreadyRead()
    • defaultDataMustBeReadFirst

      @Message("Default data must be read first") @Log(id=203) StreamCorruptedException defaultDataMustBeReadFirst()
    • defaultDataNotPresent

      @Message("Default data not sent or already read") @Log(id=204) StreamCorruptedException defaultDataNotPresent()
    • couldNotAccessSerialPersistentFields

      @Message("Default data not sent or already read") @Log(level=FINE, id=302) void couldNotAccessSerialPersistentFields(@Chain Exception e, String name)
    • fieldTypeMismatch

      @Message("Field type mismatch in Class {0} for field (name {1}, type {2})and reflected field (name {3}, type {4})") @Log(level=FINE, id=303) void fieldTypeMismatch(String cname, String fldName, Class<?> fldType, String rfldName, Class<?> rfldType)
    • noSuchField

      @Message("Could not find field {1} in class {0}") @Log(level=FINE, id=304) void noSuchField(@Chain NoSuchFieldException e, String className, String fieldName)
    • cantFindHasStaticInitializer

      @Message("Could not hasStaticInitializer method in class {0}") @Log(id=305) InternalError cantFindHasStaticInitializer(String cname)
    • errorInvokingHasStaticInitializer

      @Message("Could not invoke hasStaticInitializer method") @Log(id=306) InternalError errorInvokingHasStaticInitializer(@Chain Exception ex)
    • calledWriteObjectTwice

      @Message("Call writeObject twice") @Log(id=402) IOException calledWriteObjectTwice()
    • calledDefaultWriteObjectTwice

      @Message("Call defaultWriteObject or writeFields twice") @Log(id=403) IOException calledDefaultWriteObjectTwice()
    • defaultWriteObjectAfterCustomData

      @Message("Cannot call defaultWriteObject or writeFields after writing custom data") @Log(id=404) IOException defaultWriteObjectAfterCustomData()
    • invalidPrimitiveType

      @Message("Invalid primitive type {0}") @Log(id=502) Error invalidPrimitiveType(String name)
    • invalidPrimitiveComponentType

      @Message("Invalid primitive component type {0}") @Log(id=503) Error invalidPrimitiveComponentType(String name)