|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.fop.layoutmgr.LayoutException
public class LayoutException
Exception thrown by FOP if an unrecoverable layout error occurs. An example: An area overflows a viewport that has overflow="error-if-overflow". TODO Discuss if this should become a checked exception.
| Nested Class Summary | |
|---|---|
static class |
LayoutException.LayoutExceptionFactory
Exception factory for LayoutException. |
| Constructor Summary | |
|---|---|
LayoutException(java.lang.String message)
Constructs a new layout exception with the specified detail message. |
|
LayoutException(java.lang.String message,
LayoutManager lm)
Constructs a new layout exception with the specified detail message. |
|
| Method Summary | |
|---|---|
LayoutManager |
getLayoutManager()
Returns the layout manager that detected the problem. |
java.lang.String |
getLocalizedMessage()
|
void |
setLocalizedMessage(java.lang.String msg)
Sets the localized message for this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, 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 |
|---|
public LayoutException(java.lang.String message)
message - the detail message.
public LayoutException(java.lang.String message,
LayoutManager lm)
message - the detail messagelm - the layout manager that throws the exception| Method Detail |
|---|
public void setLocalizedMessage(java.lang.String msg)
msg - the localized messagepublic java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic LayoutManager getLayoutManager()
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||