Package dev.turboism.sdk.cubism.edit
Class EditUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.turboism.sdk.cubism.CubismServiceException
dev.turboism.sdk.cubism.edit.EditSessionException
dev.turboism.sdk.cubism.edit.EditUnavailableException
- All Implemented Interfaces:
Serializable
@CubismEditor(from="5.1.02",
to="5.3.99")
public final class EditUnavailableException
extends EditSessionException
Thrown when an edit operation cannot run because no admitted edit session backs it.
This is the fail-closed failure of the editing surface: whenever the connected Editor build
lacks verified bindings for an operation, when editing is not approved, or when the session
handle comes from EditSession.unavailable(), the call raises this exception instead of
guessing at editor internals. The exception never means the model was partially edited.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEditUnavailableException(String operation) Creates an unavailable failure naming the operation that could not run.EditUnavailableException(String code, String message) Creates an unavailable failure with a more specific diagnostic code. -
Method Summary
Methods inherited from class dev.turboism.sdk.cubism.CubismServiceException
code, messageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
CODE
Stable diagnostic code carried by every unavailable failure.- See Also:
-
-
Constructor Details
-
EditUnavailableException
Creates an unavailable failure naming the operation that could not run. -
EditUnavailableException
Creates an unavailable failure with a more specific diagnostic code.
-