/** * Exception that is used to interrupt an execution flow without any messages to the user. * */ @Logging(Logging.Type.NONE) public class SilentException extends RuntimeException { private static final long serialVersionUID = 6598108074890603763L; }
/** * 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) 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())); } }
@SupportedByClient @Logging(Logging.Type.BRIEF) class TestException extends Exception { public TestException(String message) { super(message); } } }
@SupportedByClient @Logging(Logging.Type.BRIEF) public class AccountLockedException extends LoginException { public AccountLockedException(String message) { super(message); } public AccountLockedException(String template, Object... params) { super(template, params); } }
/** * Exception that is thrown when user does not have permission to log in from the current IP. */ @SupportedByClient @Logging(Logging.Type.BRIEF) public class UserIpRestrictedException extends LoginException { public UserIpRestrictedException(String message) { super(message); } public UserIpRestrictedException(String template, Object... params) { super(template, params); } }
/** * Exception that is thrown when REST API user that does not have permission to use REST API. */ @SupportedByClient @Logging(Logging.Type.BRIEF) public class RestApiAccessDeniedException extends LoginException { public RestApiAccessDeniedException(String message) { super(message); } public RestApiAccessDeniedException(String template, Object... params) { super(template, params); } }
@SupportedByClient @Logging(value = Logging.Type.NONE) public class ReportCanceledException extends ReportingException { private static final long serialVersionUID = 1543263739485152663L; public ReportCanceledException() { } public ReportCanceledException(String message) { super(message); } public ReportCanceledException(String message, Throwable cause) { super(message, cause); } public ReportCanceledException(Throwable cause) { super(cause); } }
/** * Login error. Contains message localized accordingly to the current user locale. */ @SupportedByClient @Logging(Logging.Type.BRIEF) public class LoginException extends RuntimeException { private static final long serialVersionUID = 6144194102176774627L; public LoginException(String message) { super(message); } protected LoginException(Throwable t) { super(t); } protected LoginException(String message, Throwable cause) { super(message, cause); } public LoginException(String template, Object... params) { super(String.format(template, params)); } }
@Logging(Logging.Type.BRIEF) public class RowLevelSecurityException extends RuntimeException { private static final long serialVersionUID = -3097861878301424338L;
@Logging(Logging.Type.BRIEF) public class AccessDeniedException extends RuntimeException