cz.cuni.amis.utils.exception
Class PogamutIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by cz.cuni.amis.utils.exception.PogamutException
                  extended by cz.cuni.amis.utils.exception.PogamutIOException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommunicationException

public class PogamutIOException
extends PogamutException

Ancestor of all communication exception that might arise from the Pogamut platform. Used when dealing with classes like Socket / Reader / Writer etc.

See Also:
Serialized Form

Constructor Summary
PogamutIOException(java.lang.String message, java.util.logging.Logger log, java.lang.Object origin)
          Constructs a new exception with the specified detail message.
PogamutIOException(java.lang.String message, java.lang.Object origin)
          Constructs a new exception with the specified detail message.
PogamutIOException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message.
PogamutIOException(java.lang.String message, java.lang.Throwable cause, java.util.logging.Logger log, java.lang.Object origin)
          Constructs a new exception with the specified detail message and cause.
PogamutIOException(java.lang.String message, java.lang.Throwable cause, java.lang.Object origin)
          Constructs a new exception with the specified detail message and cause.
PogamutIOException(java.lang.Throwable cause, java.util.logging.Logger log, java.lang.Object origin)
          Constructs a new exception with the specified detail message and cause.
PogamutIOException(java.lang.Throwable cause, java.lang.Object origin)
          Constructs a new exception with the specified cause.
 
Method Summary
 
Methods inherited from class cz.cuni.amis.utils.exception.PogamutException
getOrigin, isLogged, logException, logExceptionOnce, setLogged, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PogamutIOException

public PogamutIOException(java.lang.String message,
                          java.lang.Object origin)
Constructs a new exception with the specified detail message.

Not logging anything anywhere on its own.

Parameters:
message -
origin - which object does produced the exception

PogamutIOException

public PogamutIOException(java.lang.String message,
                          java.lang.Throwable cause)
Constructs a new exception with the specified detail message.

Not logging anything anywhere on its own.

Parameters:
message -
cause -

PogamutIOException

public PogamutIOException(java.lang.Throwable cause,
                          java.lang.Object origin)
Constructs a new exception with the specified cause.

Not logging anything anywhere on its own.

Parameters:
cause -
origin -

PogamutIOException

public PogamutIOException(java.lang.String message,
                          java.lang.Throwable cause,
                          java.lang.Object origin)
Constructs a new exception with the specified detail message and cause.

Not logging anything anywhere on its own.

Parameters:
message -
cause -
origin - which object does produced the exception

PogamutIOException

public PogamutIOException(java.lang.String message,
                          java.util.logging.Logger log,
                          java.lang.Object origin)
Constructs a new exception with the specified detail message.

Logs the exception via specified Logger.

Parameters:
message -
log -
origin - which object does produced the exception

PogamutIOException

public PogamutIOException(java.lang.Throwable cause,
                          java.util.logging.Logger log,
                          java.lang.Object origin)
Constructs a new exception with the specified detail message and cause.

Logs the exception via specified Logger.

Parameters:
message -
cause -
origin - which object does produced the exception

PogamutIOException

public PogamutIOException(java.lang.String message,
                          java.lang.Throwable cause,
                          java.util.logging.Logger log,
                          java.lang.Object origin)
Constructs a new exception with the specified detail message and cause.

Logs the exception via specified Logger.

Parameters:
message -
cause -
origin - which object does produced the exception