org.iids.aos.kernel.exception
Class KernelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.iids.aos.kernel.exception.KernelException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AccessDeniedException, ACNotFinalizedException, ACTPACFormatException, ACTPACTooLargeException, ACTPACVerifyException, ACTPPeerInternalException, ACTPPeerTransientException, ACTPReceiptException, ACTPTimeoutException, AuthenticationException, BadArgumentException, ConnectionSetupException, InputOutputException, IPCException, KernelResetException, LimitExceededException, MethodNotAllowedException, NoKnownSecuritySuiteException, PeerClosedConnectionException, PeerRoleDeletedException, PeerUnreachableException, PersistentSegmentException, RandomSourceException, SecuritySuiteAgreementException, SegmentHoleException, TargetUnknownException, TransactionIDInUseException, TransientIOException, UnknownACIDException, UnknownConnectionIDException, UnknownEndpointDescrException, UnknownParamException, UnknownRoleException, UnknownRoleIDException, UnknownSegmentIDException, UnknownTransactionIDException

public class KernelException
extends java.lang.Exception

The parent class of all exceptions thrown by the kernel. A parent class was introduced to facilitate the maintenance of the AOSapi and all its RPC-specific derivatives. KernelExceptions are not allowed to carry extra data (e.g. a TransactionID for UnknownTransactionIDException) as this information cannot be conveyed to all possible clients.

Author:
arno
See Also:
Serialized Form

Constructor Summary
KernelException()
          Creates a new instance of KernelException without detail message.
KernelException(java.lang.String msg)
          Constructs an instance of KernelException with the specified detail message.
 
Method Summary
static KernelException string2object(java.lang.String eStr, java.lang.String mStr)
           
static KernelException sunJavaException2kernelException(java.lang.Exception e)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KernelException

public KernelException()
Creates a new instance of KernelException without detail message.


KernelException

public KernelException(java.lang.String msg)
Constructs an instance of KernelException with the specified detail message.

Parameters:
msg - the detail message.
Method Detail

sunJavaException2kernelException

public static KernelException sunJavaException2kernelException(java.lang.Exception e)

string2object

public static KernelException string2object(java.lang.String eStr,
                                            java.lang.String mStr)


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.