org.apache.axiom.c14n.exceptions
Class C14NException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.axiom.c14n.exceptions.C14NException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlgorithmAlreadyRegisteredException, CanonicalizationException, InvalidCanonicalizerException

public class C14NException
extends java.lang.Exception

class C14NException is the base class of all the exception classes used in org.apache.axiom.c14n

Author:
Saliya Ekanayake (esaliya@gmail.com)
See Also:
Serialized Form

Field Summary
static java.lang.String baseName
           
protected  java.lang.Exception e
           
protected  java.lang.String msgID
           
 
Constructor Summary
C14NException()
           
C14NException(java.lang.Exception e)
           
C14NException(java.lang.String msgID)
           
C14NException(java.lang.String msgID, java.lang.Exception e)
           
C14NException(java.lang.String msgID, java.lang.Object[] exArgs)
           
C14NException(java.lang.String msgID, java.lang.Object[] exArgs, java.lang.Exception e)
           
 
Method Summary
 java.lang.String getMsgID()
           
 java.lang.Exception getOriginalException()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream printstream)
           
 void printStackTrace(java.io.PrintWriter printwriter)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

baseName

public static final java.lang.String baseName
See Also:
Constant Field Values

e

protected java.lang.Exception e

msgID

protected java.lang.String msgID
Constructor Detail

C14NException

public C14NException()

C14NException

public C14NException(java.lang.String msgID)

C14NException

public C14NException(java.lang.String msgID,
                     java.lang.Object[] exArgs)

C14NException

public C14NException(java.lang.Exception e)

C14NException

public C14NException(java.lang.String msgID,
                     java.lang.Exception e)

C14NException

public C14NException(java.lang.String msgID,
                     java.lang.Object[] exArgs,
                     java.lang.Exception e)
Method Detail

getMsgID

public java.lang.String getMsgID()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter printwriter)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream printstream)
Overrides:
printStackTrace in class java.lang.Throwable

getOriginalException

public java.lang.Exception getOriginalException()


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.