All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.woorea.openstack.base.client.OpenStackBaseException Maven / Gradle / Ivy

There is a newer version: 3.3.30-oss
Show newest version
/*******************************************************************************
 * Copyright (C) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
 *******************************************************************************/

package com.woorea.openstack.base.client;

/**
 * A common abstract parent of all Openstack Exception types, allowing calling classes the choice to catch all error
 * exceptions together.
 * 

* This class was defined as an extension of {@link RuntimeException}, which made it unchecked and therefore not * explicitly understood at the various points where it might be thrown. This complicated recovery logic, so the class * was changed to specialize {@link Exception} instead, and all places where it could be thrown were explicitly * identified. *

*/ public abstract class OpenStackBaseException extends Exception { private static final long serialVersionUID = 1L; /* * Implement only the basic constructors */ public OpenStackBaseException() { } public OpenStackBaseException(String message) { super(message); } public OpenStackBaseException(String message, Throwable cause) { super(message, cause); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy