public class LayoutException
extends java.lang.RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
LayoutException.LayoutExceptionFactory
Exception factory for
LayoutException . |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 exceptionpublic void setLocalizedMessage(java.lang.String msg)
msg
- the localized messagepublic java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public LayoutManager getLayoutManager()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.