@SupportedByClient public class UnrecognizedLogLevelException extends LogControlException { private static final long serialVersionUID = -2979255314497032478L; public UnrecognizedLogLevelException(String levelString) { super(String.format("Unrecognized log level '%s'", levelString)); } }
/** * Exception that can be thrown if implementation of {@code Supplier<InputStream>} cannot provide input stream * once again. */ @SupportedByClient class RetryUnsupportedException extends RuntimeException { public RetryUnsupportedException(String message) { super(message); } }
@SupportedByClient public class LogFileNotFoundException extends LogControlException { private static final long serialVersionUID = -4325524987499763504L; public LogFileNotFoundException(String fileName) { super("Not found log file: " + fileName); } }
@SupportedByClient public class AppenderThresholdNotSupported extends LogControlException { private static final long serialVersionUID = 8472207426115530910L; public AppenderThresholdNotSupported(String appenderName) { super(String.format("Threshold for appender '%s' is not supported", appenderName)); } }
@SupportedByClient public class AppenderNotFoundException extends LogControlException { private static final long serialVersionUID = 511985938820193580L; public AppenderNotFoundException(String appenderName) { super(String.format("Not found appender with name '%s'", appenderName)); } }
@SupportedByClient public class NoOpenOfficeFreePortsException extends ReportingException { public NoOpenOfficeFreePortsException(String message) { super(message); } }
@SupportedByClient public class TemplateGenerationException extends Exception { public TemplateGenerationException(String message) { super(message); } public TemplateGenerationException(Exception e) { super(e); } }
@SupportedByClient public class LoggerNotFoundException extends LogControlException { private static final long serialVersionUID = 511985938820193580L; public LoggerNotFoundException(String loggerName) { super(String.format("Not found logger with name '%s'", loggerName)); } }
@SupportedByClient public class LogControlException extends Exception { private static final long serialVersionUID = -8129134565820337559L; public LogControlException(String message) { super(message); } public LogControlException(Throwable cause) { super(cause); } }
/** * Exception that is thrown when underlying authentication mechanisms cannot process an authentication request. */ @SupportedByClient public class InternalAuthenticationException extends LoginException { public InternalAuthenticationException(String message) { super(message); } public InternalAuthenticationException(String message, Throwable t) { super(message, t); } }
@SupportedByClient public class MethodResultValidationException extends ConstraintViolationException { public MethodResultValidationException(String message, Set<? extends ConstraintViolation<?>> constraintViolations) { super(message, constraintViolations); } public MethodResultValidationException(Set<? extends ConstraintViolation<?>> constraintViolations) { super(constraintViolations); } }
@SupportedByClient public class EntityValidationException extends ConstraintViolationException { public EntityValidationException(String message, Set<? extends ConstraintViolation<?>> constraintViolations) { super(message, constraintViolations); } public EntityValidationException(Set<? extends ConstraintViolation<?>> constraintViolations) { super(constraintViolations); } }
@SupportedByClient public class UnrecognizedLogThresholdException extends LogControlException { private static final long serialVersionUID = -5723789683222840034L; public UnrecognizedLogThresholdException(String thresholdString) { super(String.format("Unrecognized threshold '%s'", thresholdString)); } }
@SupportedByClient public class CustomValidationException extends ValidationException { public CustomValidationException(String message) { super(message); } }
/** */ @SupportedByClient @Logging(Logging.Type.BRIEF) public class EntityImportException extends RuntimeException { public EntityImportException(String message) { super(message); } public EntityImportException(String message, Throwable cause) { super(message, cause); } }
/** * Exception that is thrown if the passed credentials class is unsupported. */ @Logging(Logging.Type.BRIEF) @SupportedByClient public class UnsupportedCredentialsException extends LoginException { public UnsupportedCredentialsException(String message) { super(message); } }
/** * Raised by middleware if the client provides an invalid user session ID (e.g. if the user session has expired). * */ @SupportedByClient @Logging(Logging.Type.BRIEF) public class NoUserSessionException extends RuntimeException { private static final long serialVersionUID = 4820628023682230319L; public NoUserSessionException(UUID sessionId) { super(String.format("User session not found: %s", sessionId.toString())); } }
/** * Exception that is fired when client is not allowed to call {@link org.springframework.stereotype.Service} bean method * since it is not trusted client. */ @SupportedByClient @Logging(Logging.Type.BRIEF) public class TrustedAccessRequiredException extends RuntimeException { public TrustedAccessRequiredException() { super("Client is not allowed to call the method since the client is not trusted"); } }
/** * Exception that is raised when you try to execute schedule task once from not permitted server. */ @SupportedByClient @Logging(Logging.Type.NONE) public class RunTaskOnceException extends RuntimeException { public RunTaskOnceException(String message){ super(message); } }
@SupportedByClient @Logging(Logging.Type.BRIEF) class TestException extends Exception { public TestException(String message) { super(message); } } }