org.sdnplatform.sync.error
Class SyncException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.sdnplatform.sync.error.SyncException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthException, HandshakeTimeoutException, InconsistentDataException, ObsoleteVersionException, PersistException, RemoteStoreException, SerializationException, UnknownStoreException

public class SyncException
extends java.lang.Exception

Generic exception type for sync service exceptions

Author:
readams
See Also:
Serialized Form

Nested Class Summary
static class SyncException.ErrorType
           
 
Constructor Summary
SyncException()
           
SyncException(java.lang.String message)
           
SyncException(java.lang.String message, java.lang.Throwable cause)
           
SyncException(java.lang.Throwable cause)
           
 
Method Summary
 SyncException.ErrorType getErrorType()
           
static SyncException newInstance(SyncException.ErrorType type, java.lang.String message, java.lang.Throwable cause)
           
 
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

SyncException

public SyncException()

SyncException

public SyncException(java.lang.String message,
                     java.lang.Throwable cause)

SyncException

public SyncException(java.lang.String message)

SyncException

public SyncException(java.lang.Throwable cause)
Method Detail

getErrorType

public SyncException.ErrorType getErrorType()

newInstance

public static SyncException newInstance(SyncException.ErrorType type,
                                        java.lang.String message,
                                        java.lang.Throwable cause)