Uses of Class
org.pipservices3.commons.errors.ApplicationException
Packages that use ApplicationException
Package
Description
-
Uses of ApplicationException in org.pipservices3.commons.commands
Methods in org.pipservices3.commons.commands that throw ApplicationExceptionModifier and TypeMethodDescriptionCommand.execute(String correlationId, Parameters args) Executes the command.CommandSet.execute(String correlationId, String commandName, Parameters args) Executes a ICommand command specified by its name.ICommandInterceptor.execute(String correlationId, ICommand command, Parameters args) Executes the wrapped command with specified arguments.InterceptedCommand.execute(String correlationId, Parameters args) Executes the next command in the execution chain using the given Parameters parameters (arguments).voidCommandSet.notify(String correlationId, String eventName, Parameters args) Fires event specified by its name and notifies all registered IEventListener listenersvoidEvent.notify(String correlationId, Parameters args) Fires this event and notifies all registered listeners. -
Uses of ApplicationException in org.pipservices3.commons.errors
Subclasses of ApplicationException in org.pipservices3.commons.errorsModifier and TypeClassDescriptionclassErrors due to improper user requests.classErrors related to mistakes in the microservice's user-defined configurations.classErrors raised by conflicts between object versions that were posted by the user and those that are stored on the server.classErrors that occur during connections to remote services.classErrors in read/write file operationsclassErrors caused by programming mistakesclassErrors related to operations called in wrong component state.classErrors returned by remote services or network during call attemptsclassError caused by attempt to access missing objectclassAccess errors caused by missing user identity (authentication error) or incorrect security permissions (authorization error).classUnknown or unexpected errorsclassErrors caused by calls to unsupported or not yet implemented functionalityMethods in org.pipservices3.commons.errors that return ApplicationExceptionModifier and TypeMethodDescriptionstatic ApplicationExceptionApplicationExceptionFactory.create(ErrorDescription description) Recreates ApplicationException object from serialized ErrorDescription.Sets a original error wrapped by this exceptionSets a unique error code.ApplicationException.withCorrelationId(String correlationId) Sets a correlation id which can be used to trace this error through a call chain.ApplicationException.withDetails(String key, Object value) Sets a parameter for additional error details.ApplicationException.withStackTrace(String stackTrace) Sets a stack trace for this error.ApplicationException.withStatus(int status) Sets a HTTP status code which shall be returned by REST calls.Wraps another exception into an application exception object.static ApplicationExceptionApplicationException.wrapException(ApplicationException error, Throwable cause) Wraps another exception into specified application exception object.Methods in org.pipservices3.commons.errors with parameters of type ApplicationExceptionModifier and TypeMethodDescriptionstatic ApplicationExceptionApplicationException.wrapException(ApplicationException error, Throwable cause) Wraps another exception into specified application exception object. -
Uses of ApplicationException in org.pipservices3.commons.refer
Subclasses of ApplicationException in org.pipservices3.commons.referModifier and TypeClassDescriptionclassError when required component dependency cannot be found.Methods in org.pipservices3.commons.refer that throw ApplicationExceptionModifier and TypeMethodDescriptionvoidPuts a new reference into this reference map.Removes a previously added reference that matches specified locator.Removes all component references that match the specified locator. -
Uses of ApplicationException in org.pipservices3.commons.run
Methods in org.pipservices3.commons.run that throw ApplicationExceptionModifier and TypeMethodDescriptionstatic voidClears state of multiple components.voidClears component state.static voidClears state of specific component.static voidCloses multiple components.voidCloses the timer.voidCloses component and frees used resources.static voidCloses specific component.Executor.execute(String correlationId, Iterable<Object> components, Parameters args) Executes multiple components.IExecutable.execute(String correlationId, Parameters args) Executes component with arguments and receives execution result.static ObjectExecutor.executeOne(String correlationId, Object component, Parameters args) Executes specific component.voidINotifiable.notify(String correlationId, Parameters args) Notifies the component about occured event.static voidNotifier.notify(String correlationId, Iterable<Object> components, Parameters args) Notifies multiple components.static voidNotifier.notifyOne(String correlationId, Object component, Parameters args) Notifies specific component.voidOpens the component.static voidOpens multiple components.static voidOpens specific component. -
Uses of ApplicationException in org.pipservices3.commons.validate
Subclasses of ApplicationException in org.pipservices3.commons.validate