org.idoox.xml.schema
Class SchemaException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.idoox.util.WrappedException
              extended byorg.idoox.xml.schema.SchemaException
All Implemented Interfaces:
java.io.Serializable, org.idoox.util.UserErrorNotificationStatus

public class SchemaException
extends WrappedException
implements org.idoox.util.UserErrorNotificationStatus

This exception is thrown if a schema parsing fails.

Since:
1.0
See Also:
WrappedException, Serialized Form
Component:
Core

Constructor Summary
SchemaException()
          A default contructor.
SchemaException(java.lang.String message)
          Creates a new SchemaException instance.
SchemaException(java.lang.String message, java.lang.Throwable reason)
          Creates a new SchemaException instance.
SchemaException(java.lang.Throwable reason)
          Creates a new SchemaException instance.
 
Method Summary
 boolean getUserErrorReported()
          Returns if the exception has been already reported to user
 void setUserErrorReported(boolean userErrorReported)
          Sets that the exception has already been reported to user.
 
Methods inherited from class org.idoox.util.WrappedException
getCause, getException, getLocalizedMessage, getRootException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaException

public SchemaException()
A default contructor.


SchemaException

public SchemaException(java.lang.String message)
Creates a new SchemaException instance.

Parameters:
message - the reported message

SchemaException

public SchemaException(java.lang.String message,
                       java.lang.Throwable reason)
Creates a new SchemaException instance.

Parameters:
message - the reported message
reason - the reason why the exception has been thrown

SchemaException

public SchemaException(java.lang.Throwable reason)
Creates a new SchemaException instance.

Parameters:
reason - the reason why the exception has been thrown
Method Detail

setUserErrorReported

public void setUserErrorReported(boolean userErrorReported)
Sets that the exception has already been reported to user.

Specified by:
setUserErrorReported in interface org.idoox.util.UserErrorNotificationStatus
Parameters:
userErrorReported - true if the exception has been already reported to user

getUserErrorReported

public boolean getUserErrorReported()
Returns if the exception has been already reported to user

Specified by:
getUserErrorReported in interface org.idoox.util.UserErrorNotificationStatus
Returns:
true if the exception has been already reported to user