org.at4j.support.lang
Class At4JException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.at4j.support.lang.At4JException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArchiveEntryAddException, TarFileParseException, UnableToConvertException, UnknownZipEntryCompressionMethodException, UnsupportedCompressionMethodException, ZipFileParseException

public class At4JException
extends RuntimeException

This is a base class for exceptions in this project. It inherits RuntimeException, so it is unchecked.

Since:
1.0
Author:
Karl Gustafsson
See Also:
Serialized Form

Constructor Summary
At4JException(String msg)
          Create an exception with a message.
At4JException(String msg, Throwable t)
          Create an exception that wraps another exception and has a message.
At4JException(Throwable t)
          Create an exception that wraps another exception.
 
Method Summary
 
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

At4JException

public At4JException(String msg)
Create an exception with a message.

Parameters:
msg - The message.

At4JException

public At4JException(Throwable t)
Create an exception that wraps another exception.

Parameters:
t - The other exception.

At4JException

public At4JException(String msg,
                     Throwable t)
Create an exception that wraps another exception and has a message.

Parameters:
msg - The message.
t - The other exception.