public class LayoutException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
LayoutException.LayoutExceptionFactory
Exception factory for
LayoutException . |
Constructor and Description |
---|
LayoutException(String message)
Constructs a new layout exception with the specified detail message.
|
LayoutException(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.
|
String |
getLocalizedMessage() |
void |
setLocalizedMessage(String msg)
Sets the localized message for this exception.
|
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LayoutException(String message)
message
- the detail message.public LayoutException(String message, LayoutManager lm)
message
- the detail messagelm
- the layout manager that throws the exceptionpublic void setLocalizedMessage(String msg)
msg
- the localized messagepublic String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public LayoutManager getLayoutManager()
Copyright © 2025 Apache Software Foundation. All rights reserved.