org.eclipse.jdt.internal.formatter.align
Class AlignmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jdt.internal.formatter.align.AlignmentException
- All Implemented Interfaces:
- java.io.Serializable
public class AlignmentException
- extends java.lang.RuntimeException
Exception used to backtrack and break available alignments
When the exception is thrown, it is assumed that some alignment will be changed.
- Since:
- 2.1
- See Also:
- Serialized Form
Method Summary |
java.lang.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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LINE_TOO_LONG
public static final int LINE_TOO_LONG
- See Also:
- Constant Field Values
ALIGN_TOO_SMALL
public static final int ALIGN_TOO_SMALL
- See Also:
- Constant Field Values
relativeDepth
public int relativeDepth
AlignmentException
public AlignmentException(int reason,
int relativeDepth)
AlignmentException
public AlignmentException(int reason,
int value,
int relativeDepth)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable