@ExceptionWrapper(idPrefix="OBJCOPY") public interface Exceptions
Modifier and Type | Field and Description |
---|---|
static int |
CCB_START |
static int |
CCFPI_START |
static int |
CCOI_START |
static int |
DC_START |
static int |
EXCEPTIONS_PER_CLASS |
static int |
FB_START |
static Exceptions |
self |
Modifier and Type | Method and Description |
---|---|
ReflectiveCopyException |
cannotCopyClass(Class<?> cls) |
ReflectiveCopyException |
cannotCopyInterface(Class<?> cls) |
ReflectiveCopyException |
couldNotCopy(Object obj,
ReflectiveCopyException exc) |
IllegalStateException |
couldNotFindClassCopier(Class<?> cls) |
RuntimeException |
exceptionInReadResolve(Object obj,
Throwable t) |
void |
failureInFallback(ReflectiveCopyException exc,
Object obj,
Class<?> cls) |
ReflectiveCopyException |
noClassCopierForSuperclass(Class<?> superClass) |
ReflectiveCopyException |
stackOverflow(Object source,
StackOverflowError ex) |
static final Exceptions self
static final int EXCEPTIONS_PER_CLASS
static final int FB_START
static final int CCB_START
static final int DC_START
static final int CCFPI_START
static final int CCOI_START
@Message(value="Object copy failed on copy of {0} which has type {1}") @Log(id=1, level=FINE) void failureInFallback(@Chain ReflectiveCopyException exc, Object obj, Class<?> cls)
@Message(value="Stack overflow while copying {0}") @Log(id=101, level=WARNING) ReflectiveCopyException stackOverflow(Object source, @Chain StackOverflowError ex)
@Message(value="Could not copy {0}") @Log(id=201, level=WARNING) ReflectiveCopyException couldNotCopy(Object obj, ReflectiveCopyException exc)
@Log(id=301, level=WARNING) @Message(value="Cannot copy interface (attempt was for {0})") ReflectiveCopyException cannotCopyInterface(Class<?> cls)
@Log(id=302, level=WARNING) @Message(value="Could not find ClassCopier for {0}") IllegalStateException couldNotFindClassCopier(Class<?> cls)
@Log(id=303, level=WARNING) @Message(value="Could not copy class {0}") ReflectiveCopyException cannotCopyClass(Class<?> cls)
@Message(value="Exception in readResolve() for {0}") @Log(id=401, level=WARNING) RuntimeException exceptionInReadResolve(Object obj, @Chain Throwable t)
Copyright © 2017 Oracle. All rights reserved.