org.expasy.jpl.commons.base.builder
Class BuilderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.expasy.jpl.commons.base.builder.BuilderException
All Implemented Interfaces:
Serializable

public final class BuilderException
extends RuntimeException

This exception is thrown by a Builder when an object cannot been correctly built.

Version:
1.0
Author:
nikitin
See Also:
Serialized Form

Constructor Summary
BuilderException()
          Empty constructor.
BuilderException(String message)
          Constructs a new BuilderException object.
BuilderException(String message, Throwable cause)
           
BuilderException(Throwable cause)
           
 
Method Summary
 String 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

BuilderException

public BuilderException()
Empty constructor.


BuilderException

public BuilderException(String message)
Constructs a new BuilderException object.

Parameters:
message - gives a more precise reason about occurring exception.

BuilderException

public BuilderException(Throwable cause)
Parameters:
cause - the cause throwing this exception.

BuilderException

public BuilderException(String message,
                        Throwable cause)
Parameters:
message - gives a more precise reason about occurring exception.
cause - the cause throwing this exception.
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable


Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.