com.thesett.aima.logic.fol.LinkageException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logic Show documentation
Show all versions of logic Show documentation
Rich syntax trees and parsers for working with first order logic.
/*
* Copyright The Sett Ltd, 2005 to 2014.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.thesett.aima.logic.fol;
import com.thesett.common.parsing.SourceCodeException;
/**
* LinkageException is an error condition that typically relates to a location with a source text file, and represents a
* failure to link a compiled form of the source code into a machine that processes it, usually due to unresolved
* symbols.
*
*
CRC Card
* Responsibilities Collaborations
* Represent failure to link, due to unresolved symbols.
*
*
* @author Rupert Smith
*/
public class LinkageException extends SourceCodeException
{
/**
* Builds an exception with a message and a user message and a message key. To create an exception with no key and
* just a user message or with no user message at all pass in null arguments for the key or user message.
*
* @param message The exception message.
* @param cause The wrapped exception underlying this one.
* @param key A key to look up user readable messages with.
* @param userMessage The user readable message or data string.
*/
public LinkageException(String message, Throwable cause, String key, String userMessage)
{
super(message, cause, key, userMessage, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy