public class OutOfResources extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
OutOfResources.Kind |
Constructor and Description |
---|
OutOfResources(OutOfResources.Kind kind,
int limit) |
Modifier and Type | Method and Description |
---|---|
OutOfResources.Kind |
getKind()
Get the reason that caused this exception to be thrown.
|
int |
getLimit()
Get the limit that was exceeded
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OutOfResources(OutOfResources.Kind kind, int limit)
public OutOfResources.Kind getKind()
public int getLimit()
Copyright © 2016. All rights reserved.