org.aitools.programd.util
Class UserError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.aitools.programd.util.UserError
All Implemented Interfaces:
java.io.Serializable

public class UserError
extends java.lang.Error

A user error.

Author:
Noel Bush
See Also:
Serialized Form

Constructor Summary
UserError(java.lang.String message, java.lang.Throwable cause)
          Creates a new UserError with the given message cause.
UserError(java.lang.Throwable cause)
          Creates a new UserError with the given cause.
 
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

UserError

public UserError(java.lang.Throwable cause)
Creates a new UserError with the given cause.

Parameters:
cause - the cause of the UserError

UserError

public UserError(java.lang.String message,
                 java.lang.Throwable cause)
Creates a new UserError with the given message cause.

Parameters:
message - a message about the UserError
cause - the cause of the UserError